// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.twotoasters.jazzylistview.effects; import android.view.View; import com.nineoldandroids.view.ViewHelper; import com.nineoldandroids.view.ViewPropertyAnimator; import com.twotoasters.jazzylistview.JazzyEffect; public class CardsEffect implements JazzyEffect { private static final int a = 90; public CardsEffect() { } public void initView(View view, int i, int j) { ViewHelper.setPivotX(view, view.getWidth() / 2); ViewHelper.setPivotY(view, view.getHeight() / 2); ViewHelper.setRotationX(view, j * 90); ViewHelper.setTranslationY(view, j * view.getHeight()); } public void setupAnimation(View view, int i, int j, ViewPropertyAnimator viewpropertyanimator) { viewpropertyanimator.rotationXBy(j * -90).translationYBy(j * -view.getHeight()); } }